Mudborne:育蛙模拟器

Mudborne:育蛙模拟器

评价数不足
Toggle Run
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
16.369 KB
3 月 24 日 上午 9:51
1 项改动说明 ( 查看 )

订阅以下载
Toggle Run

描述
Left control button now toggles an auto-run feature.

The speed is set to 150 and is no longer affected by eating bugs while active (for now).

This overrides the player step function and will conflict with other mods that do the same
1 条留言
ellraiser  [开发者] 4 月 7 日 上午 1:41 
Had multiple people report this mod to be as crashing their game with the following error:

Error Message:
ERROR 3451305841/mod.lua:261: Attempt to index global variable 'obj' (a nil value)

You copied the player step script but there's a variable "obj" used in that script that only works within the context of the original player lua file, but not if you take it out of that context.

Changing "obj" to "self" on that line so that it refers to the player object should fix the issue.